

.clearfix::after{
  display: block;
  content: '';
  clear: both;
}

.header{
  width: 1200px;
  height: 45px;
  margin: 0 auto;
  border-bottom: 1px solid #eee;
  .header-l{
    float: left;
    height: 45px;
    font-size: 12px;
    p{
      display: inline-block;
      line-height: 45px;
    }
    .notice{
      color: red
    }
    .collection{
      padding: 0 10px;
      a{
        color: #555;
      }
      a:hover{
        color: #222;
      }
    }
  }
  .header-r{
    float: right;
    font-size: 14px;
    ul{
      height: 45px;
      line-height: 45px;
      li{
        float: left;
        a{
          padding: 0 10px;
          border-right: 1px solid #e4e4e4;
          color: #555;
        }
        a.b-r{
          border-right: 0;
        }
        a:hover{
          color: #222;
        }
      }
    }
  }
}

.main{
  width: 1200px;
  margin: 0 auto;
  .main-top{
    .logo{
      float: left;
      height: 134px;
      img{
        margin-top: 16px;
      }
    }
    .nav{
      float: left;
      ul{
        margin-top: 40px;
        margin-left: 70px;
        li{
          float: left;
          height: 20px;
          //padding: 0 12px;
          a{
            display: inline-block;
            height: 20px;
            font-size: 20px;
            font-weight: 600;
            line-height: 20px;
            vertical-align: middle;
            color: #444;
          }
          a.active{
            color: #ff9501;
          }
          i{
            display: inline-block;
            width: 7px;
            height: 20px;
            margin: 0 16px;
            vertical-align: middle;
            background: url("../img/line.gif");
          }
        }
      }
    }
    .search{
      float: right;
      width: 250px; height: 50px;
      margin-top: 24px;

      border: 2px solid #ff9501;
      border-radius: 27px;
      input{
        float: left;
        width: 180px;
        height: 30px;
        border: 0;
        margin-top: 9px;
        margin-left: 15px;
        background: #fff;
        outline: none;
        font-size: 18px;
        font-weight: bold;
      }
      a{
        float: right;
        width: 50px;
        height: 50px;
        background: url("../img/search.gif") no-repeat 6px 8px;
      }
    }
  }

  .main-nav {
    .chief-type {
      border-bottom: 3px solid #ff8900;
      font-size: 0;
      .switchBtn {
        display: inline-block;
        background: none;
        cursor: pointer;
        .front-icon {
          display: block;
          border-radius: 8px;
          line-height: 48px;
          font-size: 20px;
          padding:0 18px 0 56px;
          color: #000;
          background: #fff url(../img/mininetgame.png) no-repeat 22px center;
        }
        span {
          display: block;
          margin: 0 auto;
          width:0 ;
          height: 0;
          border: {
            width: 8px 4px;
            color: transparent;
            style: solid dotted dotted dotted;
          }
        }
        &:first-child {
          .front-icon {
            background: #ff9500 url(../img/game-1_c.gif) no-repeat 22px center;
            color: #fff;
          }
          span {
            border-color: #ff9500 transparent transparent transparent;
          }
        }
      }

      .mid-border {
        display: inline-block;
        width: 1px;
        height: 15px;
        background: #cac8d5;
        margin: 14px 21px 0 36px;
      }
    }
    .secondary-type {
      height: 181px;
      padding-top: 15px;
      border-bottom: 1px dashed #d2d2d2;
      .filter {
        .title {
          line-height: 56px;
          width: 105px;
          float:left;
          padding-left: 38px;
          color: #000;
          font-size: 20px;
        }
        .options {
          width: 1057px;
          float: left;
          font-size: 0;
        }
        .option {
          display: inline-block;
          text-align: center;
          line-height: 40px;
          font-size: 20px;
          color: #000;
          border-radius: 8px;
          height: 40px;
          width: 80px;
          margin: 8px 24px 0 0;
          background-color: #fff;
        }
        .selected {
          color: #fff;
          background-color: #ff9500;

        }
      }
    }
  }

  .main-content {
    .content-box {
      float: left;
      box-sizing: border-box;
      width: calc(100% / 3 - 40px);
      height: 115px;
      margin: 25px 30px 0;
      border-radius: 8px;
      box-shadow: 0 0 2px 1px #f6f6f6;
      &:nth-child(3n+2) {
        margin: 25px 0 0;
      }
      div {
        float: left;
        height: 115px;
      }
      .show-zone {
        img {
          height: 103px;
          margin: 6px 0;
        }
      }
      .brief-introduce {
        padding: 10px 20px 0 5px;
        h5 {
          line-height: 40px;
          font-size: 25px;
        }
        .labels {
          font-size: 0;
          span {
            line-height: 34px;
            font-size: 19px;
            color: #4e4e4e;
          }
          span + span {
            margin-left: 4px;
          }
        }
        .popularity {
          line-height: 26px;
          font-size: 14px;
          color: #939393;
        }
      }
      .startBtn{
        line-height: 115px;
        button {
          border: 1px solid #ff9500;
          height: 36px;
          line-height: 36px;
          width: 92px;
          border-radius: 8px;
          text-align: center;
          background: none;
          font-size: 18px;
          color: #ff9500;
          padding: 0;
          outline: none;
        }
      }
    }
  }

  .main-bottom {
    width: 100%;
    height: 144px;
    padding-top: 46px;
    #page {
      margin: 0 300px;
    }
  }
}

.footer{
  width: 100%;
  height: 132px;
  background: #333333;
  .footer-content {
    color: #e6e0d8;
    font-size: 14px;
    width: 1200px;
    height: 100%;
    margin: 0 auto;
    div {
      float: left;
    }
    .aboutUs {
      padding: 22px 0 0 40px;
      p {
        span {
          line-height: 30px;
          height: 30px;
          float:left;
        }
        .licence2 {
          padding-left: 20px;
          background: url("../img/police.png") no-repeat 0 3px;
          background-size: 18px;
        }
      }
      .link {
        height: 14px;
        padding: 8px 0;
        li {
          height: 100%;
          float: left;
          line-height: 18px;
          padding-right: 12px;
          a {
            color: #e6e0d8;
          }
        }
        li+li {
          border-left: 1px solid #e6e0d8;
          padding-left: 12px;
        }
      }
      .copyright {
        li {
          height: 30px;
          line-height: 30px;
          float:left;
          padding-right: 12px;
        }
        .licence1 {
          padding-left: 17px;
          background: url("../img/ghs.png") no-repeat 0 5px;
          background-size: 17px;
        }
      }
    }
    .code {
      padding-left: 46px;
      width: 118px;
      img{
        display: block;
        margin: 16px auto 0;
        width: 78px;
        height: 78px;
      }
      p {
        line-height: 38px;
        text-align: center;
      }
    }
  }
}
